<div class="page_title">
	<div class="left">
		<h3><{$xoops_pagetitle}></h3>
	</div>
	<div class="right">
		<ul>
			<li class="last"><a href="index.php">My Pjojects</a></li>
		</ul>
	</div>
	<div class="clear"></div>
</div>

<form name="my_project" class="simple_form" method="post" action="<{$smarty.server.PHP_SELF}>">
	<dl>
		<dt>Note</dt>
		<dd>
			Create a project then use tool to build xoops module prototype
		</dd>
	</dl>
	<dl>
		<dt>Module Dir</dt>
		<dd>
			<span class="right">letter, underline, number only</span>
			<input type="text" class="input_text w200" name="mod_dirname" value="<{$project.dirname}>" />
		</dd>
	</dl>
	<dl>
		<dt>Module Name</dt>
		<dd>
			<input type="text" class="input_text w200" name="mod_name" value="<{$project.name}>" />
		</dd>
	</dl>
	<dl>
		<dt>Description</dt>
		<dd>
			<input type="text" class="input_text w200" name="mod_description" value="<{$project.description}>" />
		</dd>
	</dl>
	<dl>
		<dt>Version</dt>
		<dd>
			<span class="right">number only</span>
			<input type="text" class="input_text w200" name="mod_version" value="<{$project.version}>" />
		</dd>
	</dl>
	<dl>
		<dt>Author</dt>
		<dd>
			<input type="text" class="input_text w200" name="mod_author" value="<{$project.author}>" />
		</dd>
	</dl>
	<dl>
		<dt>Credits</dt>
		<dd>
			<input type="text" class="input_text w200" name="mod_credits" value="<{$project.credits}>" />
		</dd>
	</dl>
	<dl>
		<dt>License</dt>
		<dd>
			<input type="text" class="input_text w200" name="mod_license" value="<{$project.license}>" />
		</dd>
	</dl>
	<dl>
		<dt>Has Main</dt>
		<dd>
			<span class="right">show module link at main menu block?</span>
			<input type="checkbox" name="mod_hasmain" id="mod_hasmain" value="1"<{if $project.hasmain}> checked="checked"<{/if}> />
		</dd>
	</dl>
	<dl>
		<dt>Has Admin</dt>
		<dd>
			<span class="right">module has backend page</span>
			<input type="checkbox" name="mod_hasadmin" id="mod_hasadmin" value="1"<{if $project.hasadmin}> checked="checked"<{/if}> />
		</dd>
	</dl>

	<dl>
		<dt>Admin Index</dt>
		<dd>
			<span class="right">backend index page script file name</span>
			<input type="text" class="input_text w200" name="mod_adminindex" value="<{$project.adminindex}>" />
		</dd>
	</dl>
	<dl>
		<dt>Admin Menu</dt>
		<dd>
			<span class="right">backend menu script file name</span>
			<input type="text" class="input_text w200" name="mod_adminmenu" value="<{$project.adminmenu}>" />
		</dd>
	</dl>
	
	<dl>
		<dt>&nbsp;</dt>
		<dd>
			<{if $smarty.get.op != 'edit'}>
			<button type="submit">Create Project</button>
			<input type="hidden" name="op" value="insert" />
			<{else}>
			<button type="submit">Update Project</button>
			<input type="hidden" name="op" value="update" />
			<input type="hidden" name="pid" value="<{$smarty.get.pid}>" />
			<{/if}>
		</dd>
	</dl>
</form>
